StudentEnrollmentPeriodRegistrationTerm 
EntityType  Independent 
Logical Entity Name  StudentEnrollmentPeriodRegistrationTerm 
Default Table Name  AdEnrollRegTerm 
Logical Only  NO 
Definition 
 
Note 
 

StudentEnrollmentPeriodRegistrationTerm Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
StudentEnrollmentPeriodId(FK)    INTEGER  NO 
 
Id(PK)    INTEGER  NO 
 
TermId(FK)    INTEGER  NO 
 
RegistrationPassword    VARCHAR(30)  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
LastModifiedUserId(FK)    INTEGER  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
RegistrationGroupId(FK)    INTEGER  YES 
 
OverrideRegistrationGroupId(FK)    INTEGER  YES 
 
RecordType    CHAR(1)  NO 
 
StudentEnrollmentPeriodId(FK)    INTEGER  YES 
 

StudentEnrollmentPeriodRegistrationTerm Keys 
Key Name  Key Type  Keys 
AdEnrollRegTerm_UserID_N_N_IDX  Inversion Entry  LastModifiedUserId 
AdEnrollRegTerm_OverrideAdRegistrationGroupID_N_N_IDX  Inversion Entry  OverrideRegistrationGroupId 
AdEnrollRegTerm_AdEnrollRegTermID_U_C_IDX  PrimaryKey  Id 
AdEnrollRegTerm_AdEnrollID_AdTermID_U_N_IDX  Alternate Key  StudentEnrollmentPeriodId, TermId 

StudentEnrollmentPeriodRegistrationTerm Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
StudentEnrollmentPeriod  Non-Identifying  One To Zero or More        StudentEnrollmentPeriodId  NO 
Term  Non-Identifying  One To Zero or More        TermId  NO 
RegistrationGroup  Non-Identifying  Zero or One to Zero or More        OverrideRegistrationGroupId  NO 
Staff  Non-Identifying  One To Zero or More        LastModifiedUserId  NO 
RegistrationGroup  Non-Identifying  Zero or One to Zero or More        RegistrationGroupId  NO 
StudentEnrollmentPeriod  Non-Identifying  Zero or One to Zero or More        StudentEnrollmentPeriodId  NO 
Term  Non-Identifying  Zero or One to Zero or More        TermId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

StudentEnrollmentPeriodRegistrationTerm Check Constraints 
Check Constraint Name  CheckConstraint 
Chk_AdEnrollRegTerm_RecordType_OverrideAdRegistrationGroupID  ([RecordType] = 'E' and [OverrideAdRegistrationGroupID] is null or [RecordType] = 'O' and [OverrideAdRegistrationGroupID] is not null or [RecordType] = '' and [OverrideAdRegistrationGroupID] is null)